package com.youhome.wechat.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import java.util.Date;

/**
 * Created by chen365 on 2019/03/01.
 */
@Data
@ApiModel
public class DTOClientUpdate {

    @ApiModelProperty(value = "名字", required = true)
    @NotBlank(message = "姓名不能为空")
    private String name;

    @ApiModelProperty(value = "邮箱")
    @Email(message = "邮箱不正确")
    private String email;

    @ApiModelProperty(value = "微信号")
    private String weChat;

    @ApiModelProperty(value = "QQ")
    private String qq;

    @ApiModelProperty(value = "投资目的")
    private String investmentObjective;

    @ApiModelProperty(value = "资金来源，国内资金，海外资金")
    private String capitalSource;

    @ApiModelProperty(value = "房型倾向")
    private String tendencyRoom;

    @ApiModelProperty(value = "地点倾向")
    private String tendencySite;

    @ApiModelProperty(value = "价格倾向")
    private String tendencyPrice;

    @ApiModelProperty(value = "面积倾向")
    private String tendencySize;

    @ApiModelProperty(value = "学校倾向(幼儿园,小学,初中,高中,大学)")
    private String tendencySchool;

    @ApiModelProperty(value = "省")
    private String province;

    @ApiModelProperty(value = "市")
    private String city;

    @ApiModelProperty(value = "区")
    private String area;

    @ApiModelProperty(value = "详细地址")
    private String address;

    @ApiModelProperty(value = "生日")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date birthDate;

    @ApiModelProperty(value = "婚姻，0保密，1已婚，2未婚，3离异")
    private int marital;

    @ApiModelProperty(value = "年收入")
    private String income;

    @ApiModelProperty(value = "职称")
    private String jobTitle;

    @ApiModelProperty(value = "工作行业")
    private String jobType;

    @ApiModelProperty(value = "性别")
    private int gender;

}
